﻿@model WebsiteSUPPORTASU.Models.ParticipantsEmailsModel

@{
    ViewBag.Title = "AdminSendEmail";
}

<h2>AdminSendEmail</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>ParticipantsEmailsModel</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Subject)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Subject)
            @Html.ValidationMessageFor(model => model.Subject)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.body)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.body)
            @Html.ValidationMessageFor(model => model.body)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OurEmail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OurEmail)
            @Html.ValidationMessageFor(model => model.OurEmail)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Emails)
        </div>
        <div class="editor-field">
            <textarea name="emails" cols="50" rows="20"></textarea>
        </div>

        <p>
            <input type="submit" value="Send" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
